package jp.ddo.trismegistos.framework.util;

import javax.servlet.http.HttpServletRequest;

public final class RequestLocator {

	private static ThreadLocal<HttpServletRequest> requests = new ThreadLocal<HttpServletRequest>();

	private RequestLocator() {
	}

	public static HttpServletRequest get() {
		return requests.get();
	}

	public static void set(final HttpServletRequest request) {
		requests.set(request);
	}
}
